#include "TimePoint.h"
#include <iostream>
using namespace std;
int main()
{
	TimePoint t("2018-4-11 0:10:100"),tt("2018-4-11 0:10:40");
	cout<<string(t)<<endl;
	cout<<string(tt)<<endl;
	cout<<time_t(t)<<endl;
	cout<<time_t(tt)<<endl;
	cout<<string(t)<<endl;
	cout<<string(tt)<<endl;
	return 0;
}
